﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="FeedReader"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Baggr</title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Feed.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/jquery.rating.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/thames/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <script src="<%=Url.Content("~/Scripts/jquery-1.4.1.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery.tree.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery.rating.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery.form.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery-ui-1.8.min.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery.validate.min.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/jquery.tree.contextmenu.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/Subscriptions.js")%>" type="text/javascript"></script>
</head>
<body>
    <%=Html.Hidden("feed-items-get-list-url", Url.Action("GetFeedItems", "Reader"))%>
    <%=Html.Hidden("subscriptions-get-tree-url", Url.Action("GetSubscriptions", "Reader"))%>
    <%=Html.Hidden("mark-read-feed-item-url", Url.Action("MarkRead", "Reader"))%>
    <%Html.RenderPartial("AddFolder", new Folder()); %>
    <%Html.RenderPartial("AddFeed"); %>
    <div id="header">
        <img src="../../Content/logo.png"></img>
        <div id="header-right">
            <div id="user-data">
                <a id="user-options" href="#"><%=User.Identity.Name %></a> | 
                <a id="exit-link" href="<%=Url.Action("LogOut", "Account") %>">exit</a>
            </div>
            <div id="search">
                <input id="search-edit" type="text" name="search"/>
                <input type="submit" value="Искать"/>
            </div>
        </div>
    </div>
    <div id="content">
        <div id="left-content">
            <div id="feeds-tools">
                <input type="button" id = "add-folder-button" value="Добавить папку" />
                <input type="button" id = "add-feed-button" value="Добавить подписку" />
            </div>
            <div id="subscriptions-panel">
                <div id="subscriptions">
                </div>
            </div>
        </div>
        <div id="right-content">
        </div>
    </div>
</body>
</html>
